package view.test;

import java.awt.Dimension;

import javax.swing.JFrame;

public class MainFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6228383279606989664L;

	public MainFrame(GameBoardPanel gameBoardPanel, Palette palette) {
		this.setTitle("Mazer test");
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
		this.setVisible(true);
		int topInsets = 2 * this.getInsets().top;
		int sideInsets = 5 * this.getInsets().right; // TODO: redo this
		this.setMinimumSize(new Dimension(800 + sideInsets,600 + topInsets));
		
		this.setResizable(false);
		this.setLayout(null);

	}
	
}
